Description
Used to define a Slider control in a form.
Diagram
Overview
|
SLIDER
Used to define a Slider control in a form.
|
height required Restriction of xs:int
|
|
width required Restriction of xs:int
|
|
x required xs:int
The x coordinate of the upper left corner of the slider.
|
|
y required xs:int
The y coordinate of the upper left corner of the slider
|
|
border optional Restriction of xs:string
|
|
buddy optional xs:string
|
|
defaultvalue optional xs:string
|
|
field optional xs:string
|
|
group optional Restriction of xs:string
|
|
lower optional xs:int
|
|
name optional xs:string
When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts.
|
|
orientation optional Restriction of xs:string
|
|
readonly optional Restriction of xs:string
|
|
required optional Restriction of xs:string
|
|
tabstop optional Restriction of xs:string
|
|
upper optional xs:int
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
height | Restriction of xs:int | required | | | |
width | Restriction of xs:int | required | | | |
x | xs:int | required | | | The x coordinate of the upper left corner of the slider. |
y | xs:int | required | | | The y coordinate of the upper left corner of the slider |
border | Restriction of xs:string | optional | false | | |
buddy | xs:string | optional | | | |
defaultvalue | xs:string | optional | | | |
field | xs:string | optional | | | |
group | Restriction of xs:string | optional | false | | |
lower | xs:int | optional | | | |
name | xs:string | optional | | | When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts. |
orientation | Restriction of xs:string | optional | vert | | |
readonly | Restriction of xs:string | optional | false | | |
required | Restriction of xs:string | optional | false | | |
tabstop | Restriction of xs:string | optional | true | | |
upper | xs:int | optional | | | |
Examples
Restrictions
The following attributes can only be used in edit and identify forms. They cannot be used in general forms:
Source
<xs:element name="SLIDER" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define a Slider control in a form.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" ref="height">
<xs:annotation>
<xs:documentation>The height of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" ref="width">
<xs:annotation>
<xs:documentation>The width of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="x" type="xs:int">
<xs:annotation>
<xs:documentation>The x coordinate of the upper left corner of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="y" type="xs:int">
<xs:annotation>
<xs:documentation>The y coordinate of the upper left corner of the slider</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" ref="border">
<xs:annotation>
<xs:documentation>Specifies whether the slider has a border.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="buddy" />
<xs:attribute ref="defaultvalue">
<xs:annotation>
<xs:documentation>A simple expression that specifies the default value of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="field">
<xs:annotation>
<xs:documentation>The field of the shapefile's DBF table that is linked to the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" ref="group">
<xs:annotation>
<xs:documentation>Specifies whether the slider starts a new group of controls.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lower" type="xs:int" />
<xs:attribute ref="name">
<xs:annotation>
<xs:documentation>Name of the Slider control. Used to reference the control in scripts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="orientation" use="optional" default="horiz" />
<xs:attribute default="false" ref="readonly">
<xs:annotation>
<xs:documentation>Specifies whether the slider's value can be modified by the user.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" ref="required">
<xs:annotation>
<xs:documentation>Specifies if the user must enter some text in the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" ref="tabstop">
<xs:annotation>
<xs:documentation>Specifies whether the TAB key can be used to move the focus to the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="upper" />
</xs:complexType>
</xs:element>
|
See Also